package MyOffer.JavaGuide;



public class StringTest {
    public static void main(String[] args) {
        String s = new String();//不可变 常量 线程安全

        StringBuffer stringBuffer = new StringBuffer();//可变 synchronized 线程安全

        StringBuilder stringBuilder = new StringBuilder();//可变 线程不安全
    }
}
